Skip to content

feat(docker/build-push): add target and build-args inputs - #259

Merged
chjdev merged 1 commit into
mainfrom
feat/build-push-target-build-args
Nov 17, 2026
Merged

chjdev merged 1 commit into
mainfrom
feat/build-push-target-build-args

Conversation

@chjdev

@chjdev chjdev commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Adds two optional inputs to docker/build-push, passed unchanged to docker/build-push-action:

  • target: the Dockerfile stage to build. Empty builds the last stage.
  • build-args: one KEY=VALUE per line.

devclaude needs both to publish the base stage of its Dockerfile, once plain and once with DEVCLAUDE_DIND=1. The final stage needs per-user build args, so building it in CI isn't an option.

Both default to empty, which docker/build-push-action treats as unset, so existing callers behave as before.

Lets a caller build one stage of a multi-stage Dockerfile, and variants of it, without a Dockerfile per variant.
@chjdev
chjdev requested review from antholzer and dan-n94 November 17, 2026 10:14
@chjdev
chjdev enabled auto-merge (rebase) November 17, 2026 10:14
@chjdev
chjdev merged commit 1e3376c into main Nov 17, 2026
1 check passed
@chjdev
chjdev deleted the feat/build-push-target-build-args branch November 17, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants